package com.xiangyang.service.impl;

import com.xiangyang.entity.dto.Result;
import com.xiangyang.mapper.IScheduling;
import com.xiangyang.service.ISchedulingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SchedulingImpl implements ISchedulingService {
    @Autowired
    IScheduling sce;
    @Override
    public Result getEmployeeAndDepartment() {
        return Result.ok(sce.getEmployeeAndDepartment());
    }
}
